package com.laikan.reader.core.events;

import com.laikan.library.helpers.BasicEvent;

/**
 * Created by anrun on 7/22/16.
 */
public class LaiKanEvent extends BasicEvent {

    public static final int EVENT_ID_DELETED_BOOK_SUCCESS = 0;
    public static final int EVENT_ID_UPDATA_SUCCESS = 1;
    public static final int EVENT_ID_DISMISS_LOADING = 2;
    public static final int EVENT_ID_REFRESH_RECOMMEND = 3;
    public static final int EVENT_ID_REFRESH_RECOMMEND_FAILD = 4;
    public static final int EVENT_ID_READ_PRE_BOOK = 5;
    public static final int EVENT_ID_LOAD_DIRECTORY = 6;
    public static final int EVENT_ID_BOOK_DES = 7;
    public static final int EVENT_ID_ADD_READ_HISTORY = 8;  //添加阅读历史
    public static final int EVENT_ID_BOOK_DELETE_CACHE = 9; //删除书架书籍或删除历史记录
    public static final int EVENT_ID_BOOKSHELF_DELETE_MANAGER = 10;
    public static final int EVENT_ID_BOOK_REFRESH_RECOMMENDBOOK = 11;
    public static final int EVENT_ID_BOOK_REFRESH_REPLY_NUMBER = 12;
    public static final int EVENT_ID_READHISTORY_DELETE_MANAGER = 13;
    public static final int EVENT_ID_FINISH_LOGIN = 14;
    public static final int EVENT_ID_GET_REPLY_LIST = 15;
    public static final int EVENT_ID_GET_MORE_REPLY = 16;
    public static final int EVENT_ID_ARTICLE_SEND_REPLY = 17;
    public static final int EVENT_ID_SEND_REPLY = 18;
    public static final int EVENT_ID_RESET_PASSWORD = 19;
    public static final int EVENT_ID_GET_VERIFY_CODE = 20;
    public static final int Event_ID_CHECK_VERIFY_CODE = 21;
    public static final int EVENT_ID_GET_PREPAY_INFO = 22;

    public static final int EVENT_ID_COMMENT_NOTIC = 23;
    public static final int EVENT_ID_SHOW_NOTICE = 24;

    public static final int EVENT_ID_LONGPRESS_CONFIRM = 25;
    public static final int EVENT_ID_READERDETAIL_CHAPTER_REFRESH = 26;

    public static final int EVENT_ID_UPDATE_VERSION = 26;

    public static final int EVENT_ID_RET_DOT_VISIBLE = 27; //我的 红点显示
    public static final int EVENT_ID_RET_DOT_GONE = 28; // 我的红点隐藏

    public static final int EVENT_ID_BOOKSHELF_HIDE_EDIT = 31; //隐藏书架编辑界面

    public static final int EVENT_ID_SIGNIN_DATAREQUEST = 32; // 签到信息
    public static final int EVENT_ID_SIGNIN_SIGNREQUEST = 33; // 请求签到
    public static final int EVENT_ID_BOOKSHELF_CLOSE_SIGNIN = 34; // 请求签到

    public static final int EVENT_ID_FOCUS_REFRESH_REPLY_NUMBER = 35; //看点   点赞，评论数据刷新事件

    public static final int EVENT_ID_CANCLE_COLLECT = 36; // 取消收藏
    public static final int EVENT_ID_ADD_COLLECT = 37; // 添加收藏

    private static LaiKanEvent instance;

    private LaiKanEvent() {

    }

    public static LaiKanEvent getInstance() {

        if (instance == null) {
            synchronized (BasicEvent.class) {
                instance = new LaiKanEvent();
            }
        }
        return instance;
    }
}
